/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase202202 - Out4
 * <p>Powered by Lisi On 2022-05-31 14:56:01
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class Out4 {
    public static void main(String[] args) {
        //int i = 1;
        //System.out.printf("\033[45;35mheloo\033[0m%n");


        System.err.println("hello world");

        for (int i = 1; i <= 6; i++) {
            System.out.printf("\033[%dm%s\033[0m%n", 30 + i, "hello" + i);
            System.out.printf("\033[%dm%s\033[0m%n", 40 + i, "hello" + i);
            System.out.printf("\033[%d;%dm%s\033[0m%n",40 + i,31 + i, "hello" + i);
        }
    }
}
